Fix shared object name for loading libdecor#18541
Fix shared object name for loading libdecor#18541LibretroAdmin merged 1 commit intolibretro:masterfrom
Conversation
|
Will changing that bool break it on systems where it already works? Should it be switched to an OR (||) check instead of replacing? |
On systems where But the reverse is not true. RetroArch packaged by Linux distros that do split packages will not (and should not) depend on I'm not aware of systems (where libdecor is suported) that use the name |
|
If we want extra robustness in the unlikely situation where if ((wl->libdecor = dylib_load("libdecor-0.so.0") || dylib_load("libdecor-0.so")))But I don't think this is necessary. |
|
I'll check my system at home. It's possible I made a symlink a long time ago and forgot about it. EDIT: looks like I have both, so I probably symlinked it at some point to fix exactly this. We can probably safely disregard my initial concern. |
Description
Fix runtime loading of libdecor by using the proper soname instead of the linker name, which is absent on some systems.
Related Issues
Fixes #18540